package cmd

import (
	"fmt"

	"gitee.com/workits/pkgs/toolx"
	"github.com/spf13/cobra"
)

var configCmd = &cobra.Command{
	Use:   "config",
	Short: "配置workits项目参数",
	Long:  "配置workits项目参数",
	Run: func(cmd *cobra.Command, args []string) {
		toolx.CreateConfig(".")
		fmt.Println("🎉项目环境配置完成")
	},
}

func init() {
	rootCmd.AddCommand(configCmd)
}
